from models.User import User


def get_user_by_id(user_id):
    user = User.query.get(user_id)
    return user
